ISATTY

Section: MINTLIB LIBRARY FUNCTIONS (3)
Updated: 3 March 1993
Index Return to Main Contents
 

NAME

isatty - is this file desciptor a terminal device  

SYNOPSIS

#include <unistd.h>

int isatty(int fildes);
 

DESCRIPTION

isatty returns 1 if file descriptor fildes is associated with a terminal device, 0 otherwise.  

SEE ALSO

ttyname(3)  

NOTE

The current implementation makes use of the Fseek system call, which may explain the appearance of the Fseek call in system debug messages whenever a program tries to determine whether it is writing to a file or to a tty.
 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
NOTE

This document was created by man2html, using the manual pages.
Time: 11:15:11 GMT, June 22, 2025